import ProblemList from "./problem/ProblemList.vue"
import Logout from "./user/Logout.vue"
import UserHome from "./user/UserHome.vue"
import About from "./help/About.vue"
import FAQ from "./help/FAQ.vue"
import NotFound from "./general/404.vue"
import Home from "./general/Home.vue"
import Announcements from "./general/Announcements.vue"

// Grouping Components in the Same Chunk
const SubmissionList = () => import("@oj/views/submission/SubmissionList.vue")
const SubmissionDetails = () =>
    import("@oj/views/submission/SubmissionDetails.vue")

const ACMRank = () => import("@oj/views/rank/ACMRank.vue")
const OIRank = () => import("@oj/views/rank/OIRank.vue")

const ApplyResetPassword = () => import("@oj/views/user/ApplyResetPassword.vue")
const ResetPassword = () => import("@oj/views/user/ResetPassword.vue")

const Problem = () => import("@oj/views/problem/Problem.vue")

export {
    Home,
    NotFound,
    Announcements,
    Logout,
    UserHome,
    About,
    FAQ,
    ProblemList,
    Problem,
    ACMRank,
    OIRank,
    SubmissionList,
    SubmissionDetails,
    ApplyResetPassword,
    ResetPassword
}
/* 组件导出分为两类, 一类常用的直接导出，另一类诸如Login, Logout等用懒加载,懒加载不在此处导出
 *   在对应的route内加载
 *   见https://router.vuejs.org/en/advanced/lazy-loading.html
 */
